//
// Created by Wirano on 2020/11/13.
//

#ifndef DRV_USART_H
#define DRV_USART_H

#include "stm32f4xx_hal.h"

extern uint8_t Rx_Buf[];
void Usart2_Init(uint32_t br_num);
void Usart2_IRQ(void);
void Usart2_Send(unsigned char *DataToSend ,uint8_t data_num);

void Usart3_Init ( uint32_t br_num );
void Usart3_IRQ ( void );
static void Usart3_Send ( unsigned char *DataToSend , uint8_t data_num );

void Uart4_Init(uint32_t br_num);
void Uart4_IRQ(void);
void Uart4_Send(unsigned char *DataToSend ,uint8_t data_num);

void Uart5_Init(uint32_t br_num);
void Uart5_IRQ(void);
void Uart5_Send(unsigned char *DataToSend ,uint8_t data_num);

#endif //DRV_USART_H
